package com.legrand.www.module.exception.enums;

public enum ExceptionEnum {
    HAVE_NO_RIGHT("该用户没有权限", 1),
    USER_HAVE_FORBID("该用户被禁止", 2);
    public String message;
    public int index;

    ExceptionEnum(String message, int index) {
        this.message = message;
        this.index = index;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }
}
